package com.example.objectprovider.controller;

import com.example.objectprovider.service.ILoginService;
import com.example.objectprovider.service.LoginCheckService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LoginController {
    @Autowired
    private LoginCheckService loginCheckService;

    @GetMapping("/login")
    public String login() {
        return loginCheckService.loginCheck();
    }
}
